Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Zend Framework - Home--> Nazwa.pl, Problem z przeniesieniem aplikacji
McAronik
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.05.2016

Ostrzeżenie: (0%)
-----


Witam. Mam problem z przeniesieniem aplikacji Zend Framework z home do nazwy.
Pojawia się Http 500 - Logi serwera nic więcej nie mówią.
Poradzi ktoś coś ?
Przy fachowej pomocy chętnie przekażę jakiś fundusz na piwo.
pozdrawiam

Ten post edytował McAronik 23.05.2016, 13:57:31
Go to the top of the page
+Quote Post
viking
post
Post #2





Grupa: Zarejestrowani
Postów: 6 380
Pomógł: 1116
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


Włącz tryb developerski w ustawieniach aplikacji.


--------------------
Go to the top of the page
+Quote Post
McAronik
post
Post #3





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.05.2016

Ostrzeżenie: (0%)
-----


  1. defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development'));

Nic się nie zmienilo.
Mam wrażenie że tajemnica tkwi w htaccessach - ale specjalistą nie jestem .
Screen

Ten post edytował McAronik 23.05.2016, 15:13:00
Go to the top of the page
+Quote Post
viking
post
Post #4





Grupa: Zarejestrowani
Postów: 6 380
Pomógł: 1116
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


W application.ini musisz mieć:
Cytat
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1


Do tego zobacz błąd w logach serwera.


--------------------
Go to the top of the page
+Quote Post
Pyton_000
post
Post #5





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


Ja bym raczej przeglądał logi aplikacji.
Go to the top of the page
+Quote Post
McAronik
post
Post #6





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.05.2016

Ostrzeżenie: (0%)
-----


Ustawiłem wg instrukcji i w logach servera nadal mam tylko:
GET / HTTP/1.0
Status: 500 0 B
Go to the top of the page
+Quote Post
viking
post
Post #7





Grupa: Zarejestrowani
Postów: 6 380
Pomógł: 1116
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


Z tego co podałeś wynika że patrzysz na acces.log a nie error.log.
[Fri Dec 16 01:46:23 2005] [error] [client 1.2.3.4] Directory index forbidden by rule: /home/test/

Jak pisze Pyton_000 poszukaj gdzieś logów aplikacji.
W pasku adresu wpisz http://twoj adres/index.php


--------------------
Go to the top of the page
+Quote Post
McAronik
post
Post #8





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.05.2016

Ostrzeżenie: (0%)
-----


Cytat(viking @ 23.05.2016, 18:30:33 ) *
Z tego co podałeś wynika że patrzysz na acces.log a nie error.log.
[Fri Dec 16 01:46:23 2005] [error] [client 1.2.3.4] Directory index forbidden by rule: /home/test/


Jak pisze Pyton_000 poszukaj gdzieś logów aplikacji.
W pasku adresu wpisz http://twoj adres/index.php


Error log nie pokazuje nic - to jest super dziwne.
Kiedy wpisze adres dodajac index.php efekt jest ten sam.
jeżeli któryś z Was jest specjalistą od Zend Frameworka lub czuje się na siłach to chętnie skorzystam z płatnej zdalnej pomocy.

Ten post edytował McAronik 23.05.2016, 20:38:25
Go to the top of the page
+Quote Post
com
post
Post #9





Grupa: Zarejestrowani
Postów: 3 034
Pomógł: 366
Dołączył: 24.05.2012

Ostrzeżenie: (0%)
-----


mnie na shared 500 rzucało jak brakowało __dir__, ale to nie był zend wink.gif
Go to the top of the page
+Quote Post
LowiczakPL
post
Post #10





Grupa: Zarejestrowani
Postów: 531
Pomógł: 55
Dołączył: 3.01.2016
Skąd: Łowicz

Ostrzeżenie: (0%)
-----


Błąd występuje dla strony index czy dopiero dla podstron podczas odpytywania metod?


--------------------
Szukam zleceń Symfony, Laravel, Back-End, Front-End, PHP, MySQL ...
Go to the top of the page
+Quote Post
CuteOne
post
Post #11





Grupa: Zarejestrowani
Postów: 2 958
Pomógł: 574
Dołączył: 23.09.2008
Skąd: wiesz, że tu jestem?

Ostrzeżenie: (0%)
-----


Luknij http://forum.php.pl/index.php?showtopic=149215
Go to the top of the page
+Quote Post
McAronik
post
Post #12





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.05.2016

Ostrzeżenie: (0%)
-----


Cytat(LowiczakPL @ 24.05.2016, 07:28:32 ) *
Błąd występuje dla strony index czy dopiero dla podstron podczas odpytywania metod?

Na stronie index
W tej chwili mam sytuację taką:
Kod
Warning: require_once(/Zend/Application.php) [function.require-once]: failed to open stream: No such file or directory in /home/kalahari/ftp/admin-home/public/index.php on line 21

Fatal error: require_once() [function.require]: Failed opening required '/Zend/Application.php' (include_path='/home/kalahari/ftp/admin-home/library:.:/usr/share/pear/') in /home/kalahari/ftp/admin-home/public/index.php on line 21


Ten post edytował McAronik 25.05.2016, 22:57:57
Go to the top of the page
+Quote Post
CuteOne
post
Post #13





Grupa: Zarejestrowani
Postów: 2 958
Pomógł: 574
Dołączył: 23.09.2008
Skąd: wiesz, że tu jestem?

Ostrzeżenie: (0%)
-----


http://forum.php.pl/index.php?showtopic=144188

Ten post edytował CuteOne 26.05.2016, 09:08:05
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 12:23